﻿//using System;

//namespace mvcForum.Core {

//    public static class TopicExtensions {

//        public static Boolean Visible(this Topic topic) {
//            return topic.FlagValue == (Int32)TopicFlag.None ||
//                    topic.FlagValue == (Int32)TopicFlag.Locked ||
//                    topic.FlagValue == (Int32)TopicFlag.Moved;
//        }

//        public static Boolean Moveable(this Topic topic) {
//            return topic.FlagValue == (Int32)TopicFlag.None ||
//                    topic.FlagValue == (Int32)TopicFlag.Locked;
//        }

//        public static Boolean Mergeable(this Topic topic) {
//            return topic.FlagValue == (Int32)TopicFlag.None ||
//                    topic.FlagValue == (Int32)TopicFlag.Locked;
//        }
//    }
//}